package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 动作信息维护表对象 service_action
 * 
 * @author ZDL
 * @date 2024-12-25
 */
public class ServiceAction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 事件表主键ID */
    private Long actionId;

    /** 事件名 */
    @Excel(name = "事件名")
    private String actionName;

    /** 创建者 */
    @Excel(name = "创建者")
    private String actionCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actionCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String actionUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actionUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String actionUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String actionDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String actionRemark;

    public void setActionId(Long actionId) 
    {
        this.actionId = actionId;
    }

    public Long getActionId() 
    {
        return actionId;
    }
    public void setActionName(String actionName) 
    {
        this.actionName = actionName;
    }

    public String getActionName() 
    {
        return actionName;
    }
    public void setActionCreateBy(String actionCreateBy) 
    {
        this.actionCreateBy = actionCreateBy;
    }

    public String getActionCreateBy() 
    {
        return actionCreateBy;
    }
    public void setActionCreateTime(Date actionCreateTime) 
    {
        this.actionCreateTime = actionCreateTime;
    }

    public Date getActionCreateTime() 
    {
        return actionCreateTime;
    }
    public void setActionUpdateBy(String actionUpdateBy) 
    {
        this.actionUpdateBy = actionUpdateBy;
    }

    public String getActionUpdateBy() 
    {
        return actionUpdateBy;
    }
    public void setActionUpdateTime(Date actionUpdateTime) 
    {
        this.actionUpdateTime = actionUpdateTime;
    }

    public Date getActionUpdateTime() 
    {
        return actionUpdateTime;
    }
    public void setActionUseFlag(String actionUseFlag) 
    {
        this.actionUseFlag = actionUseFlag;
    }

    public String getActionUseFlag() 
    {
        return actionUseFlag;
    }
    public void setActionDelFlag(String actionDelFlag) 
    {
        this.actionDelFlag = actionDelFlag;
    }

    public String getActionDelFlag() 
    {
        return actionDelFlag;
    }
    public void setActionRemark(String actionRemark) 
    {
        this.actionRemark = actionRemark;
    }

    public String getActionRemark() 
    {
        return actionRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("actionId", getActionId())
            .append("actionName", getActionName())
            .append("actionCreateBy", getActionCreateBy())
            .append("actionCreateTime", getActionCreateTime())
            .append("actionUpdateBy", getActionUpdateBy())
            .append("actionUpdateTime", getActionUpdateTime())
            .append("actionUseFlag", getActionUseFlag())
            .append("actionDelFlag", getActionDelFlag())
            .append("actionRemark", getActionRemark())
            .toString();
    }
}
